#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int num = 0;
    float score1 = 0.0, score2 = 0.0, score3 = 0.0;
    scanf("%d;%f,%f,%f", &num, &score1, &score2, &score3);
    printf("The each subject score of No. %d is %.2f, %.2f, %.2f.", num, score1, score2, score3);

    return 0;
}